<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo ($title); ?></title>
</head>
<body>

<table border="1">
<tr>
<th>编号</th>
<th>标题</th>
<th>用户编号</th>
<th>用户名</th>
<th>分类</th>
<th>发布时间</th>
<th>是否公开</th>
<th>删除</th>
</tr>
<?php if(is_array($ulist)): $i = 0; $__LIST__ = $ulist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$info): ++$i;$mod = ($i % 2 )?><tr>
<td><a href="__URL__/edit/id/<?php echo ($info['id']); ?>"><?php echo ($info[id]); ?></a></td>
<td><?php echo ($info[title]); ?></td>
<td><?php echo ($info[userid]); ?></td>
<td><?php echo ($info[name]); ?></td>
<td><?php echo ($info[category]); ?></td>
<td><?php echo ($info[publishtime]); ?></td>
<td><?php echo ($info[published]); ?></td>
<td><a href="__URL__/delete/deleteid/<?php echo ($info['id']); ?>">删除</a></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>

</table>
<br />
<?php echo ($page); ?>
</body>
</html>